<template>
  <div>
    <div class="title-css" style="text-align: center;padding: 20px 0;">
      快递查询
    </div>

    <div>
      <el-form :model="form"  label-width="160px">
        <el-form-item>
          <el-input style="width:300px; margin-right: 30px;" v-model="form.id" placeholder="请输入订单ID" autocomplete="off"></el-input>
          <el-button type="primary" @click="expressQuery">快递信息查询</el-button>
        </el-form-item>


      </el-form>
    </div>

  </div>
</template>

<script>
export default {
  data() {
    return {
      form: {
        id: ''
      },
    };
  },

  methods: {

    // 查询快递信息
    expressQuery(){
      // 为后端拼接数据
      let dtoBody = {
        "OrderId": this.form.id
      }
      console.log("要向后端发送的数据: ", dtoBody)
    },

  },

}
</script>

<style>

</style>